package com.jrabbits.impl.sys.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jrabbits.api.sys.entity.Office;
@Service("BaseService")
@Transactional(readOnly = true)
public abstract class BaseService {
	@Transactional(readOnly = false)
	public void save(Office office) {
//		if (office.getIsNewRecord()){
//			officeDao.insert(office);
//		}else{
//			officeDao.update(office);
//		}
	}
}
